package week8;
class A{
    public A(){
        System.out.println("A");
    }
}
class B extends A{
    public B(){
        System.out.println("B");
    }
}

public class C {
    public static void main(String[] args){
        new B();
    }
}
